<div style="text-align: center;">
  <ul id="pagination" class="pager" data-link-creator="?page={page}" data-page="{{pages.cur}}" data-ride="pager" data-rec-total="{{ pages.total }}" data-max-nav-count="4" data-elements="prev_icon,nav,next_icon">
  </ul>
</div>